﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using ArchivesAdmin.Util;

namespace ArchivesAdmin.Entity.DataManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2021-06-14 17:39
    /// 描 述：实体类
    /// </summary>
    [Table("dhda_ajbxxb")]
    public class AjbxxbEntity : BaseCreateEntity
    {
        /// <summary>
        /// 流水号
        /// </summary>
        /// <returns></returns>
        public int? AUTOID { get; set; }
        /// <summary>
        /// 全宗号
        /// </summary>
        /// <returns></returns>
        public string  QZH { get; set; }
        /// <summary>
        /// 目录号
        /// </summary>
        /// <returns></returns>
        public string MLH { get; set; }
        /// <summary>
        /// 案卷号
        /// </summary>
        /// <returns></returns>
        public string AJH { get; set; }
        /// <summary>
        /// 分类号
        /// </summary>
        /// <returns></returns>
        public int? FLH { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        /// <returns></returns>
        public string FLMC { get; set; }
        /// <summary>
        /// 档案号
        /// </summary>
        /// <returns></returns>
        public string DAH { get; set; }
        /// <summary>
        /// 案卷名（单位名称、题名）
        /// </summary>
        /// <returns></returns>
        public string AJM { get; set; }
        /// <summary>
        /// 保存期限
        /// </summary>
        /// <returns></returns>
        public string BCQX { get; set; }
        /// <summary>
        /// 密级
        /// </summary>
        /// <returns></returns>
        public string MJ { get; set; }
        /// <summary>
        /// 起始日期
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? QSRQ { get; set; }
        /// <summary>
        /// 截至日期
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? JZRQ { get; set; }
        /// <summary>
        /// 存放位置
        /// </summary>
        /// <returns></returns>
        public string CFWZ { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        /// <returns></returns>
        public int? ZYS { get; set; }
        /// <summary>
        /// 卷数
        /// </summary>
        /// <returns></returns>
        public int? JS { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        /// <returns></returns>
        public string BZ { get; set; }
        /// <summary>
        /// 测试用的
        /// </summary>
        /// <returns></returns>
        public int? CS { get; set; }
    }
}
